from django.conf.urls import url
from .users.views import CaptchaView, ImgCheckCode, RigisterView, loginView
from .gitlab.views import listProject
from .jenkins.views import jenkinsPlug, jenkinsCreateJob, jenkinsGetJobConfig
from .ansible.testRun import runAdhoc
from .cmdb.views import manualInfo, autoInfo, exhibitionData

urlpatterns = [
    url('imagecode/', CaptchaView.as_view()),
    url('imgCode/', ImgCheckCode.as_view()),
    url('Rigister/', RigisterView.as_view()),
    url('login/', loginView.as_view()),
    url('listProject/', listProject.as_view()),
    url('jenkinsPlug/', jenkinsPlug.as_view()),
    url('createJob/', jenkinsCreateJob.as_view()),
    url('getJobConfig/', jenkinsGetJobConfig.as_view()),
    url('andhoc/', runAdhoc.as_view()),
    url('manualinfo/', manualInfo.as_view()),
    url('upload/', autoInfo.as_view()),
    url('exdata/', exhibitionData.as_view())

]
